Skip to content

Instantly share code, notes, and snippets.

@fofr
fofr / SKILL.md
Last active June 26, 2026 19:02
An agent skill for writing in the GOV.UK style
name govuk-style
description Write and edit in GOV.UK / GDS house style — plain English, active voice, front-loaded content, sentence case, and no bold or italics for emphasis. Use when writing or editing reports, research write-ups, guidance, documentation, summaries, or any prose where clarity and accessibility matter.
user-invokable true
args
name description required
target
The document or text to write or rewrite in GOV.UK style (optional)
false
@Lukas-Krickl
Lukas-Krickl / 00-project-reactor-from-zero-to-hero.md
Last active June 26, 2026 19:01
A java project reactor tutorial/discussion reaching from basic concepts to reactor internal implementation details.

Project Reactor: From Zero to Hero

In this series of pages, I will discuss project reactor and reactive programming from basic concepts to reactor internal implementation details. This discussion is based on the official reference documentation, the java-doc, talks by maintainers of reactor e.g. at the spring I/O and other distributed material, and should summarise and connect all this information. It should complement the official reference documentation and java-doc. Although the name says "from zero to hero", basic knowledge about the library is advised to fully benefit from it.

As a short disclaimer, I am a professional software engineer with some years of experience in using reactor, but not a maintainer or creator of the library. Information and knowledge in this post are based on the official documentation and talks, but I cannot exclude misconceptions on my side.


  1. [Why and when to use Reactor](https://gist.github.com/Lukas-Krickl/50f1daebebaa72c7e944b7c319e3c073#file-01-why-and-when-to-use
@ThioJoe
ThioJoe / DisableUSBPowerManagement.ps1
Last active June 26, 2026 19:00
PowerShell script to disable Windows power management on all currently connected serial ports, including most (if not all) USB devices and adapters.
# PowerShell script to disable Windows power management on all currently connected serial ports, including USB adapters
# In simpler terms, it prevents Windows from turning off connected serial devices to save power.
# Equivalent to right-clicking on a serial port device in Device Manager > Properties > "Power Management" Tab > Unchecking "Allow the computer to turn off this device to save power."
$hubs = Get-CimInstance -ClassName Win32_SerialPort | Select-Object Name, DeviceID, Description
$powerMgmt = Get-CimInstance -ClassName MSPower_DeviceEnable -Namespace root\wmi
foreach ($p in $powerMgmt) {
$IN = $p.InstanceName.ToUpper()
foreach ($h in $hubs) {
@Stenimated
Stenimated / Luau
Created June 20, 2024 19:04
Path2D component react-lua
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local React = require(ReplicatedStorage.Packages.React)
local Sift = require(ReplicatedStorage.Packages.Sift)
local e = React.createElement
export type Point = {
Position: UDim2,
Left: UDim2,
Right: UDim2,
}
This file has been truncated, but you can view the full file.
imdbId,tmdbId
0114709,862
0113497,8844
0113228,15602
0114885,31357
0113041,11862
0113277,949
0114319,11860
0112302,45325
@parsley42
parsley42 / README.md
Last active June 26, 2026 18:54
Chromebook ssh-agent setup

Setting up ssh-agent in Linux/Crostini on Chromebook

  • Create your user systemd directory:
$ mkdir -p .config/systemd/user
  • Edit the unit file .config/systemd/user/ssh-agent.service:
[Unit]
Description=SSH key agent
@MarcelMeurer
MarcelMeurer / Create-V2-From-V1-VM.ps1
Last active June 26, 2026 18:53
Create a Azure VM Genertation V2 from an existing V1 virtual machine (opt. including Trusted launch, secure boot, and vTPM)
param(
[ValidateNotNullOrEmpty()]
[ValidateSet('Default', 'StartInternalTask-1', 'StartInternalTask-2', 'StartInternalTask-3', 'CheckInternalTask')]
[string] $mode = "Default"
)
$ErrorActionPreference = "Stop"
#region Configuration
@jjdoor
jjdoor / Charles 在线破解工具
Created January 27, 2020 06:01
在线生成 Charles 破解补丁
https://www.zzzmode.com/mytools/charles/

📥 Downloads Sorter

Automatically sorts your Downloads folder the moment a file lands in it. No clicking, no manual organizing — it just happens.

Get a notification and menu bar update every time a file is moved, so you always know exactly where it went.


Install

System.Text.Json vs Newtonsoft.Json in 2026 — Developer Summary & Quick Guide

Source: WireFuture (Feb 19, 2026). This file is a practical, gist-ready expansion of the article with comparison tables, code samples, and a benchmark snapshot. (https://wirefuture.com/post/system-text-json-vs-newtonsoft-json-in-2026-still-relevant)


Overview

The .NET ecosystem now has two mature JSON options: System.Text.Json (STJ) and Newtonsoft.Json, each with different strengths. STJ offers higher performance and better AOT support (https://wirefuture.com/post/system-text-json-vs-newtonsoft-json-in-2026-still-relevant), while Newtonsoft remains superior for dynamic JSON and advanced converters (https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft).